package com.wxdc.nmgyt.nmgytwydc.model.backresult;

import com.wxdc.nmgyt.nmgytwydc.model.RolBean;

import java.util.List;

/**
 * 获取用户权限返回结果
 * Created by Administrator on 2018/9/26.
 * {code: "状态码"
 jwt: "token值"
 reMessage: "执行消息"
 realname: 真实名称
 rol:权限{{LEAF: "0",NAVID: "R103",PARENTID: "R",TITLE: "数据审核"},
 {LEAF: "1",NAVID: "R10302",PARENTID: "R103",TITLE: "子站审核"}},
 workunit: 工作单位}
 */

public class UserRolResultBean {


    /**
     * code : 200
     * rol : [{"NAVID":"R101","PARENTID":"R","TITLE":"首页","LEAF":"1"},{"NAVID":"R102","PARENTID":"R","TITLE":"数据管理","LEAF":"0"},{"NAVID":"R10201","PARENTID":"R102","TITLE":"数据录入","LEAF":"1"},{"NAVID":"R10202","PARENTID":"R102","TITLE":"数据修改","LEAF":"1"},{"NAVID":"R103","PARENTID":"R","TITLE":"数据审核","LEAF":"0"}]
     * jwt : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJ0ZXN0MSIsInN1YiI6IuW9leWFpeS6uuWRmCIsIlJvbGUiOiLplKHmnpfpg63li5Lnm5_njq_looPkv53miqTnm5HmtYvnq5kiLCJqdGkiOiIxMmVmMjhjZi05YzIzLTRhZTAtOWI2MS03NDcyNDI4MjA0NDEiLCJleHAiOiJcL0RhdGUoMTUzOTAyMTkxMTYwOClcLyIsImlhdCI6IlwvRGF0ZSgxNTM5MDE0NzExNjA4KVwvIiwiSWQiOiI5YTBmYWQ1Ny03YzNlLTRlNjgtOWM5Ny0wNjMyOWUzMWU4ZDEifQ.dgaUp0gJxZKgMXtQ6RQQsjHOgCeFUhYyDmsoUpzLv46CKONI5Cf_zNOS4gHn4uMBxiAD7ed0haQ94Nf4p3JLuA
     * realname : 录入人员
     * workunit : 锡林郭勒盟环境保护监测站
     * GZDWDM:EG152500
     * GZDWMC:锡林郭勒盟环境保护监测站
     * reMessage : 初始化数据成功！
     */

    private String code;
    private String jwt;
    private String realname;
    private String workunit;
    private String GZDWDM;
    private String GZDWMC;
    private String reMessage;
    private List<RolBean> rol;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getJwt() {
        return jwt;
    }

    public void setJwt(String jwt) {
        this.jwt = jwt;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getWorkunit() {
        return workunit;
    }

    public void setWorkunit(String workunit) {
        this.workunit = workunit;
    }

    public String getReMessage() {
        return reMessage;
    }

    public void setReMessage(String reMessage) {
        this.reMessage = reMessage;
    }

    public List<RolBean> getRol() {
        return rol;
    }

    public void setRol(List<RolBean> rol) {
        this.rol = rol;
    }

    public String getGZDWDM() {
        return GZDWDM;
    }

    public void setGZDWDM(String GZDWDM) {
        this.GZDWDM = GZDWDM;
    }

    public String getGZDWMC() {
        return GZDWMC;
    }

    public void setGZDWMC(String GZDWMC) {
        this.GZDWMC = GZDWMC;
    }

    @Override
    public String toString() {
        return "UserRolResultBean{" +
                "code='" + code + '\'' +
                ", jwt='" + jwt + '\'' +
                ", realname='" + realname + '\'' +
                ", workunit='" + workunit + '\'' +
                ", GZDWDM='" + GZDWDM + '\'' +
                ", GZDWMC='" + GZDWMC + '\'' +
                ", reMessage='" + reMessage + '\'' +
                ", rol=" + rol +
                '}';
    }
}
